package com.chj.comp.common.auth.service;

import com.chj.comp.common.auth.vo.AuthTokenVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cuihui
 * @since 2022-02-21
 */
public interface IAuthTokenService {
    AuthTokenVO getTokenByPassword(String username, String password) throws Exception;
    AuthTokenVO getTokenByClient(String clientId, String clientSecret) throws Exception;
    AuthTokenVO getTokenBySms(String phone, String code) throws Exception;
    AuthTokenVO getTokenByCode(String code, String redirectUri);
    AuthTokenVO refreshToken(String refresh_token);
}
